package com.woniuxy.base.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniuxy.base.model.entity.BaseProductLine;
import com.woniuxy.base.model.entity.BaseProductLineRecord;

import java.util.List;

public interface BaseProductLineService {

    Page<BaseProductLine> getAll(int current, int size);

    Boolean update(BaseProductLine baseProductLine, String account);

    Boolean add(BaseProductLine baseProductLine);

    Page<BaseProductLine> conditionSearch(BaseProductLine baseProductLine, Integer current, Integer size);

    Page<BaseProductLine> keywordSearch(String keyword, Integer current, Integer size);

    List<BaseProductLineRecord> detail(Integer productLineId);
}
